package com.dr.entity;
/**
 * 
 * @author 宋雪晗
 *
 */
public class Comment {
	private Integer id;//评价编号
	private Integer pro_id;//产品表的id（外键）
	private Integer user_id;//用户表的id（外键）
	private String createTime;//评价时间
	private Integer accordRating;//产品符合描述等级
	private Integer expressRating;//物流产品等级
	private Integer serverRating;//服务等级
	private Integer isReply;
	private String content;//评价内容
	private String reply;//回复内容
	private String replyTime;//回复时间
	private String name;//用户名
	private String img;//
	private String uName;
	private String pName;
	private Integer page;
	private Integer limit;
	public Integer getId() {
		return id;
	}
	public void setId(Integer id) {
		this.id = id;
	}
	
	public Integer getPro_id() {
		return pro_id;
	}
	public void setPro_id(Integer pro_id) {
		this.pro_id = pro_id;
	}
	public Integer getUser_id() {
		return user_id;
	}
	public void setUser_id(Integer user_id) {
		this.user_id = user_id;
	}
	public String getCreateTime() {
		return createTime;
	}
	public void setCreateTime(String createTime) {
		this.createTime = createTime;
	}
	public Integer getAccordRating() {
		return accordRating;
	}
	public void setAccordRating(Integer accordRating) {
		this.accordRating = accordRating;
	}
	public Integer getExpressRating() {
		return expressRating;
	}
	public void setExpressRating(Integer expressRating) {
		this.expressRating = expressRating;
	}
	public Integer getServerRating() {
		return serverRating;
	}
	public void setServerRating(Integer serverRating) {
		this.serverRating = serverRating;
	}
	public Integer getIsReply() {
		return isReply;
	}
	public void setIsReply(Integer isReply) {
		this.isReply = isReply;
	}
	public String getContent() {
		return content;
	}
	public void setContent(String content) {
		this.content = content;
	}
	public String getReply() {
		return reply;
	}
	public void setReply(String reply) {
		this.reply = reply;
	}
	public String getReplyTime() {
		return replyTime;
	}
	public void setReplyTime(String replyTime) {
		this.replyTime = replyTime;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public String getImg() {
		return img;
	}
	public void setImg(String img) {
		this.img = img;
	}
	public String getuName() {
		return uName;
	}
	public void setuName(String uName) {
		this.uName = uName;
	}
	public String getpName() {
		return pName;
	}
	public void setpName(String pName) {
		this.pName = pName;
	}
	public Integer getPage() {
		if (page==null) {
			return 0;
		}else {
			return (page-1)*limit;
		}
	}
	public void setPage(Integer page) {
		this.page = page;
	}
	public Integer getLimit() {
		if (limit==null) {
			return 10;
		}else {
			return limit;
		}
	}
	public void setLimit(Integer limit) {
		this.limit = limit;
	}
	
	
}
